package com.byjh.app.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class ErrorCollectSetPostDto {

    @NotNull(message = "题目ID不能为空")
    private Long questionId;

    @NotNull(message = "科目ID不能为空")
    private Long chapterId;

    @NotNull(message = "科目名称不能为空")
    private String chapterName;

    @NotNull(message = "科目名称不能为空")
    private Integer type;

}
